package com.huamao.zh.constants;

/**
 * 功能说明：现金类型 Author：spring Date：2017/11/20 11:19
 */
public enum CashType {

	// 现金类型 1充值 2下线升级奖励200元或2000元 3营业额获得 4待发现金账户转入
	// 5提现拒绝退还 6后台增加现金 7商城购物退款 31提现支出 32商城商家营业额购买库存积分支出
	// 33消费 34后台减少金额 35提现拒绝退还 36提现手续费

	Chongzhi(1, "充值"), Xiaxian_shengji(2, "下线升级奖励200元或2000元"), Turnover_in(3, "营业额获得"), Freeze_cash_account_in(4,
			"待发现金账户转入"), Withdraw_refund(5, "提现拒绝退还"), Houtai_add(6, "后台增加现金"), Shopping_refund(7,
					"商城购物退款"), Withdraw(8, "提现支出"), Turnover_buy_score(32, "商城商家营业额购买库存积分支出"), Consumption(33,
							"消费"), Houtai_subtract(34, "后台减少金额"), Withdraw_fee(36, "提现手续费");

	/**
	 * 功能编码
	 */
	private Integer code;

	/**
	 * 功能名称
	 */
	private String name;

	CashType(Integer code, String name) {
		this.code = code;
		this.name = name;
	}

	public Integer getCode() {
		return code;
	}

	public CashType setCode(Integer code) {
		this.code = code;
		return this;
	}

	public String getName() {
		return name;
	}

	public CashType setName(String name) {
		this.name = name;
		return this;
	}
}
